package io.chenglicun.modules.clc.service;

import io.chenglicun.common.service.CrudService;
import io.chenglicun.modules.clc.dto.ClcExamResultDTO;
import io.chenglicun.modules.clc.entity.ClcExamResultEntity;

import java.util.List;

/**
 * 考试结果
 *
 * @author HB 137664951@qq.com
 * @since 1.0 2023-10-18
 */
public interface ClcExamResultService extends CrudService<ClcExamResultEntity, ClcExamResultDTO> {
    ClcExamResultDTO get(Long id);

    List<ClcExamResultDTO> getByUser();

    List<ClcExamResultDTO> getByReleaseId(Long releaseId);

    ClcExamResultDTO getByUserAndReleaseId(Long releaseId);

    void save(ClcExamResultDTO dto);
}